perm filename EMACLS.DOC[MAC,LSP]5 blob
sn#573511 filedate 1981-03-17 generic text, type C, neo UTF8
COMMENT ⊗ VALID 00002 PAGES
C REC PAGE DESCRIPTION
C00001 00001
C00002 00002 α= send arrow line or attach buffer
C00005 ENDMK
C⊗;
α= send arrow line or attach buffer
α+nα= send next n lines
α-nα= send previous n lines
αx= <sexp>
send comand line
Protocols: (* means not actually anticipated to be used; current
implementation knows about it but does not send and/or interpret them
specially)
From E to MacLisp
Mail
wd1: Job# sending message
wd2: type of message
0,,1: SEXPs
0,,2 control (meta) chars to follow (E macro format)
*0,,4: Ready for answer
*0,,10: not ready for answer
0,,100: initiating a conversation
0,,200: interrupt. do <esc>i <char>
0,,400: close connection (suicide)
0,,1000: ok (did the jobread)
*0,,2000: notok
*1,,0: Continuation needed
2,,0: Short (fits in the next =30 words, ends with null byte
or falls off)
wd3: -number of words,,address of 1k buffer
From MacLisp to E
Mail
wd1: Job#
wd2: type of message
0,,1: Start of answer (PP SEXPs)
0,,2: Start of E commands (E macro format)
*0,,4: Ready for answer?
0,,100: initiating a conversation
0,,1000: ok (did the jobread)
*0,,2000: notok
*1,,0: Continuation needed
2,,0: Short
wd3: -number of words,,address of 1k buffer
E commands will be represented in the standard E macro manner
(unless there is something better).
Protocol is:
E MacLisp
---------------
initiate
ok
To send a short message just a MAIL
To send a long message MAIL then wait for JOBREAD acknowledge
To send interrupts, just send them
Acknowledgment is the short OK message
Commands needed:
start DMP file
send control chars
send interrupt character (just 1 at a time)